package org.jsbd.boss.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.jsbd.boss.dao.IBaseInfoDAO;
import org.jsbd.boss.domian.BaseInfo;
import org.jsbd.boss.service.IBaseInfoService;
import org.springframework.stereotype.Service;

@Service("baseInfoService")
public class BaseInfoService implements IBaseInfoService {

	@Resource
	private IBaseInfoDAO baseInfoDAO;
	
	@Override
	public List<BaseInfo> getAllChannelInfo() {
		return baseInfoDAO.getAllChannelInfo();
	}

	@Override
	public BaseInfo getBaseInfoById(Integer id) {
		return baseInfoDAO.getBaseInfoById(id);
	}

}
